package com.level.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 质控规则表
 * </p>
 *
 * @author zhaocw
 * @since 2019-05-08
 */
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("QC_RULE")
public class QcRule extends Model<QcRule> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId("id")
    private String id;
    /**
     * 规则名称
     */
    @TableField("NAME")
    private String name;
    /**
     * 规则描述
     */
    @TableField("DESCRIPTION")
    private String description;
    /**
     * 规则对应病历类型
     */
    @TableField("EMRTYPE")
    private String emrtype;
    /**
     * 规则类型 1审查质控 2归档质控
     */
    @TableField("TYPE")
    private String type;
    /**
     * 规则分值
     */
    @TableField("SCORE")
    private String score;
    /**
     * 状态 0启用 1禁用
     */
    @TableField("STATUS")
    private String status;
    /**
     * 创建人
     */
    @TableField("CREATER")
    private String creater;
    /**
     * 创建时间
     */
    @TableField("CREATETIME")
    private Date createtime;
    /**
     * 修改人
     */
    @TableField("MODIFIER")
    private String modifier;
    /**
     * 修改时间
     */
    @TableField("MODIFITIME")
    private Date modifitime;

	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getEmrtype() {
		return emrtype;
	}


	public void setEmrtype(String emrtype) {
		this.emrtype = emrtype;
	}


	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}


	public String getScore() {
		return score;
	}


	public void setScore(String score) {
		this.score = score;
	}


	public String getStatus() {
		return status;
	}


	public void setStatus(String status) {
		this.status = status;
	}


	public String getCreater() {
		return creater;
	}


	public void setCreater(String creater) {
		this.creater = creater;
	}


	public Date getCreatetime() {
		return createtime;
	}


	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}


	public String getModifier() {
		return modifier;
	}


	public void setModifier(String modifier) {
		this.modifier = modifier;
	}


	public Date getModifitime() {
		return modifitime;
	}


	public void setModifitime(Date modifitime) {
		this.modifitime = modifitime;
	}


	@Override
	public String toString() {
		return "QcRule [id=" + id + ", name=" + name + ", description=" + description + ", emrtype=" + emrtype
				+ ", type=" + type + ", score=" + score + ", status=" + status + ", creater=" + creater
				+ ", createtime=" + createtime + ", modifier=" + modifier + ", modifitime=" + modifitime + "]";
	}

    
}
